from app import db


class User(db.Model):
    _table_name = 'user'
    username = db.Column(db.String(255), primary_key=True, )
    password = db.Column(db.String(255), nullable=False)
    telephone = db.Column(db.String(255), nullable=False)
    roomid = db.Column(db.Integer, nullable=False)
    email = db.Column(db.String(255))
